home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 2
/
Amoszine 2.adf
/
andrew_smith_source
/
Band.AMOS
/
Band.amosSourceCode
Wrap
AMOS Source Code
|
1992-02-26
|
444b
|
33 lines
' Band draw
' Anchor first point
Repeat
X1=X Screen(X Mouse)
Y1=Y Screen(Y Mouse)
Until Mouse Click=1
STX=X1 : STY=Y1
Gr Locate X1,Y1
Gr Writing 2
Repeat
X2=X Screen(X Mouse)
Y2=Y Screen(Y Mouse)
Draw X1,Y1 To X2,Y2
Wait Vbl
Draw X1,Y1 To X2,Y2
If Mouse Click=1
Gr Writing 0
Draw X1,Y1 To X2,Y2
X1=X2 : Y1=Y2
Exit If X2=STX and Y2=STY
Gr Writing 2
End If
Until Mouse Key=2